package models.sys;


import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name="sys_token")
public class Token extends BaseSystemModel {
    //令牌
    public String token;
    //标识符
    public String flag;
    //值
    public String value;
    //令牌类型
    public int type;
    //到期时间
    public Date overtime;

    public class Type{
        /**
         * 登录时的记住我
         */
        public static final int LOGIN_REMEMBER = 0;
    }
}
